package com.realone.packman.codec.encoder.vo;

/**
 * 开始升级 请求对象
 * @author hugx
 * @create 2018-09-14 11:14
 */
public class BmsEncoderDataVo0b extends BmsEncoderDataVo{
private byte upgradeType; // 1：升级boot ; 2：升级Firmware

    /**
     * 升级类型
     * @return  1：升级boot ; 2：升级Firmware
     */
    public byte getUpgradeType() {
        return upgradeType;
    }

    /**
     * 升级类型
     * @param upgradeType  1：升级boot ; 2：升级Firmware
     */
    public void setUpgradeType(byte upgradeType) {
        this.upgradeType = upgradeType;
    }
}
